﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cocbook_DTO
{
    public class Book_FilterView
    {
        public Int64 ISBN { get; set; }
        public string Title { get; set; }
        public string Publisher { get; set; }
        public string Issuer { get; set; }
        public double Price { get; set; }
        public string Genre { get; set; }
        public Int32 Sold { set; get; }

        public Book_FilterView(Book_Filter bf)
        {
            ISBN = bf.Book.ISBN;
            Title = bf.Book.Title;
            Publisher = bf.Book.Publisher;
            Issuer = bf.Book.Issuer;
            Price = bf.Book.Price;
            Genre = bf.Book.Genre;
            Sold = bf.Sold;
        }
    }
}
